//
//  SZCalendarCell.m
//  SZCalendarPicker
//
//  Created by Stephen Zhuang on 14/12/1.
//  Copyright (c) 2014年 Stephen Zhuang. All rights reserved.
//

#import "SZCalendarCell.h"
#import "Masonry.h"
@implementation SZCalendarCell
- (UILabel *)dateLabel
{
    if (!_dateLabel) {
        _dateLabel = [[UILabel alloc] initWithFrame:self.bounds];
        [_dateLabel setTextAlignment:NSTextAlignmentCenter];
        [_dateLabel setFont:[UIFont systemFontOfSize:17]];
        [self addSubview:_dateLabel];
        
//        _markerView = [[UIView alloc]init];
//        _markerView.backgroundColor = [UIColor blackColor];
//        
//        [_dateLabel addSubview:_markerView];
//        
//        [_markerView  mas_makeConstraints:^(MASConstraintMaker *make) {
//            
//            make.centerX.equalTo(_dateLabel);
//            make.top.equalTo(_dateLabel).with.offset(_dateLabel.frame.size.height - 5);
//            make.size.mas_equalTo(CGSizeMake(5, 5));
//        }];
//        _markerView.layer.cornerRadius = 5;
//        _markerView.clipsToBounds = YES;
        
    }
    return _dateLabel;
}


@end
